﻿using Adnc.Infra.Entities;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace WYT.Ord.Repository.Entities
{
    /// <summary>
    /// 订单优惠券使用记录
    /// </summary>
    [Table("ord_orderCoupon"), Comment("赠品")]
    public class OrderCoupon : EfEntity
    {
        /// <summary>
        /// 订单ID
        /// </summary>
        public long OrderId { get; set; }   

        /// <summary>
        /// 用户的优惠券
        /// </summary>
        public long UserCouponId { get; set; }
    }
}
